<table class="table table-condensed table-bordered table-hover table-striped">
                <thead>
                  <tr>
				        <th></th>
				        <th><?php __("Utente") ?></th>
				        <th>Anagrafica</th>
				        <th>Scadenza</th>
				        <th>Ultimo Accesso</th>
				        <th>Registrazione</th>
				        <th>Gruppo</th>
				        <th>Stato</th>
				        <th></th>
                  </tr>
                </thead>
                <tbody>
					<?php foreach ($users as $user): ?> 
					<tr>
						<td><a href='/<?php echo AppController::APP_NAME?>/Users/edit/<?php echo $user['User']['id'];?>' ><i class='icon-pencil'></i></a></td>
						<td><?php echo $user['User']['username']; ?></td>
						<td><?php echo $user['Anagrafica']['nome']." ".$user['Anagrafica']['cognome']; ?></td>
						<td><?php echo $user['User']['dt_scadenza']; ?></td> 
						<td><?php echo $user['User']['dt_accesso']; ?></td> 
						<td><?php echo $user['User']['registrazione']; ?></td> 
						<td><?php echo $user['Group']['descrizione']; ?></td> 
						<td><?php echo $user['User']['stato']; ?></td> 
						<td><a href='/<?php echo AppController::APP_NAME?>/Users/delete/<?php echo $user['User']['id'];?>' ><i class="icon-trash"></i></a></td>
					</tr>
					<?php endforeach; ?>
					<?php unset($users); ?> 
					<tr>
						<td><a href='/<?php echo AppController::APP_NAME?>/Users/add' ><i class='icon-plus'></i></a></td>
					</tr>					
                </tbody>
              </table>

